package com.fand.acceptControl.service;

import org.springframework.cache.annotation.CacheEvict;

import com.fand.acceptControl.dao.AcceptControlDao;
import com.fand.common.service.CommonService;

/**
 * 权限控制服务
 * 
 * @author yaoHT
 */
public class DefaultAcceptControlService implements AcceptControlService {
	private AcceptControlDao acceptControlDao;
	
	private CommonService commonService;
	
	private NavigationService navigationService;
	
	private ResourceService resourceService;
	
	private RoleService roleService;
	
	private UserGrService userGrService;
	
	private ValidateRuService validateRuService;
	
	@Override
	public CommonService getCommonService() {
		return this.commonService;
	}
	
	@Override
	public NavigationService getNavigationService() {
		return this.navigationService;
	}
	
	@Override
	public ResourceService getResourceService() {
		return this.resourceService;
	}
	
	@Override
	public RoleService getRoleService() {
		return this.roleService;
	}
	
	@Override
	public UserGrService getUserGrService() {
		return this.userGrService;
	}
	
	@Override
	public ValidateRuService getValidateRuService() {
		return this.validateRuService;
	}
	
	@Override
	@CacheEvict(value = AcceptControlService.CACHE_NAME, allEntries = true)
	public void reload() {
	}
	
	public void setAcceptControlDao(final AcceptControlDao acceptControlDao) {
		this.acceptControlDao = acceptControlDao;
	}
	
	public void setCommonService(final CommonService commonService) {
		this.commonService = commonService;
	}
	
	public void setNavigationService(final NavigationService navigationService) {
		this.navigationService = navigationService;
	}
	
	public void setResourceService(final ResourceService resourceService) {
		this.resourceService = resourceService;
	}
	
	public void setRoleService(final RoleService roleService) {
		this.roleService = roleService;
	}
	
	public void setUserGrService(final UserGrService userGrService) {
		this.userGrService = userGrService;
	}
	
	public void setValidateRuService(final ValidateRuService validateRuService) {
		this.validateRuService = validateRuService;
	}
}